<?php
use GlobalData\Client;
// globalData
require_once __DIR__ . '/../../vendor/autoload.php';

// 连接 Global Data 服务器
$global = new Client('127.0.0.1:2207');

var_dump(isset($global->somedata));

$global->somedata = array(1,2,3,4);

var_export($global->somedata);


